onst types = {
    type: 'CREATE_HTML_XJ',
    icon: 'https://ocean.codemao.cn/appcraft/resource/icon/社交/购物篮.svg',
    title: '生成HTML',
    version: '1.0.0',
    author: 'XJ王大哥(2357942846)',
    isInvisibleWidget: true,
    isGlobalWidget: true,
    properties: [],
    methods: [
      {
          key: 'img',
          label: '图片',
          params: [{key:'src',label: '链接',valueType: 'string',defaultValue:""}],
          valueType: 'string',
          blockOptions: {color: "rgb(160, 115, 255)",callMethodLabel: false}
      }
    ],
    events: [],
  }
  
  class Widget extends InvisibleWidget {
    constructor(props) {super(props)}}
  
  exports.types = types
  exports.widget = Widget